use std::fs::File;
use std::path::Path;

pub fn add(a: i32, b: i32) -> i32 {
    a + b
}
pub fn sub(a: i32, b: i32) -> i32 {
    a - b
}

pub fn div(a: f32, b: f32) -> f32 {
    a / b
}

pub fn multi(a: i32, b: i32) -> i32 {
    a * b
}

pub fn file_new(name: &str) -> &str {
    let path = Path::new(name);
    let _ = File::create_new(&path);
    path.to_str().unwrap()
}
